package com.liyk.shop.enums;


/**
 * @program: springcloud-shop
 * @description:
 * @author: lyk
 * @create: 2019-11-26 09:18
 **/
public enum Oauth2Enum {

    OAUTH_2_EXCEPTION(10001, "oauth2认证异常");

    private Integer code;

    private String msg;

    Oauth2Enum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}


